// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
//为了兼容一些低版本的安卓手机显示白屏，判断浏览器有没promise，没有的话babel-polyfill会添加promise
import 'babel-polyfill'
import store from './store'
import 'styles/iconfont.css'
//对基础样式的修饰
import 'styles/reset.css'
//处理不同手机端出现的边框问题
import 'styles/border.css'
//处理延迟点击的问题
import fastClick from 'fastclick'
import 'swiper/dist/css/swiper.css'


Vue.config.productionTip = false

//把事件绑定在document.body身上
fastClick.attach(document.body)

Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
